<html>
<head><meta charset="utf-8"><title>Test coverage · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html">Test coverage</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="165364308"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/165364308" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> repjarms <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#165364308">(May 10 2019 at 19:31)</a>:</h4>
<p>Based on the discussion around tests on the meeting this week, are there any critical areas we are looking to add tests that might appear in the Call for Tests?</p>



<a name="165364322"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/165364322" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> repjarms <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#165364322">(May 10 2019 at 19:31)</a>:</h4>
<p>I'd be happy to look at those as an area to get started</p>



<a name="165368045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/165368045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#165368045">(May 10 2019 at 20:23)</a>:</h4>
<p>I'll need to take a look; haven't done so yet</p>



<a name="166739899"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/166739899" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#166739899">(May 28 2019 at 17:35)</a>:</h4>
<p>So <span class="user-mention" data-user-id="126931">@centril</span> the edge cases I was thinking of were mostly interactions around type inference, and perhaps trying to explore some cases relevant to auto-derf</p>



<a name="166740299"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/166740299" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#166740299">(May 28 2019 at 17:39)</a>:</h4>
<p>Thanks</p>



<a name="167870890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/167870890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#167870890">(Jun 11 2019 at 17:23)</a>:</h4>
<p><span class="user-mention" data-user-id="126931">@centril</span> one thing I was thinking is that we clearly need tests for various kinds of interesting things that might be "live" (or "live-ish") over an await</p>



<a name="167870914"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/167870914" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#167870914">(Jun 11 2019 at 17:23)</a>:</h4>
<p>there are I guess two angles though, one is kind of testing the <em>language interactions</em> and one is testing the <em>robutstness of the impl</em></p>



<a name="167870930"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/167870930" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#167870930">(Jun 11 2019 at 17:23)</a>:</h4>
<p>language interactions is about robustness :P</p>



<a name="167871013"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/167871013" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#167871013">(Jun 11 2019 at 17:24)</a>:</h4>
<p>I see this as checking various special properties of async/await and then checking general properties about the language in async/await</p>



<a name="167871047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/167871047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#167871047">(Jun 11 2019 at 17:25)</a>:</h4>
<p>where the latter can easily be 100s of tests</p>



<a name="168158133"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/Test%20coverage/near/168158133" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/Test.20coverage.html#168158133">(Jun 14 2019 at 18:08)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="1172">@WG-async-foundations</span>  We are putting together a document with things we would like to see tests for: <a href="https://paper.dropbox.com/doc/async.await-Call-for-Tests--AfAM6cvO2yAxLYrwSNNpS0zTAg-nMyZGrra7dz9KcFRMLKJy" target="_blank" title="https://paper.dropbox.com/doc/async.await-Call-for-Tests--AfAM6cvO2yAxLYrwSNNpS0zTAg-nMyZGrra7dz9KcFRMLKJy">https://paper.dropbox.com/doc/async.await-Call-for-Tests--AfAM6cvO2yAxLYrwSNNpS0zTAg-nMyZGrra7dz9KcFRMLKJy</a></p>
<p>Please add to that list if you think of something and be creative <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>